package com.claimSettlement.service.impl;

import com.claimSettlement.mapper.WuLossMapper;
import com.claimSettlement.pojo.WuLoss;
import com.claimSettlement.service.WuLossService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class WuLossServiceImpl implements WuLossService {
    @Resource
    WuLossMapper wuLossMapper;

    public int insWuLoss(WuLoss wuLoss) {
        return wuLossMapper.insert(wuLoss);
    }

    public int updWuLoss(WuLoss wuLoss) {
        return wuLossMapper.updateById(wuLoss);
    }
}
